Scalable Memory Reclamation for Multi-Core, Real-Time Systems
نویسندگان
چکیده
A core challenge in best utilizing an increasing number of cores in real-time systems is addressing the problem of efficient and predictable resource sharing. Traditional mechanisms for mutual exclusion, such as locks, limit parallelism due to serialized resource access. Relaxing mutual exclusion, readerwriter locks enable selective parallelism for a subset of accesses, but can suffer from increased implementation overheads. In all such implementations, the costs of cache-coherency alone can be prohibitive for an increasing number of cores. This paper investigates the use of techniques such as ReadCopy Update (RCU) to enable truly parallel access to datastructures. Such techniques optimize for data-structure readpaths, and can completely avoid stores to shared structures, thus avoiding cache-coherency overheads. We show that existing implementations of preemptive RCU aren’t designed to provide real-time latencies, and require a potentially unbounded amount of dynamically allocated memory. Thus, we introduce two new implementations that are both predictable and efficient, and a matching analysis that establishes bounds on memory consumption. We additionally provide a schedulability analysis that demonstrates the effectiveness of scalable read-side operations, achieving consistently higher schedulability than existing techniques. We further apply the analysis to provide admission control for a soft real-time application to both achieve higher throughput than existing approaches (up to 40% higher) while limiting 99th percentile read-path latencies (4x lower than existing techniques).
منابع مشابه
Practical Concerns for Scalable Synchronization
With the advent of multi-core chips and simultaneous multithreading technologies, high degrees of parallelism will soon become the norm for both smalland large-scale systems. Operating systems for such highly parallel environments require efficient synchronization. Unfortunately, the everincreasing overhead of synchronization instructions on modern CPUs has made such efficiency difficult to ach...
متن کاملMixed-criticality scheduling with memory regulation
The state-of-the-art models and schedulability analysis for mixed-criticality multicore systems overlook lowlevelaspects of the system. To improve their credibility, we therefore incorprate, in this work, the effects of delays from memory contention on a shared bus. Specifically, to that end, we adopt the predictable memory reservation mechanism proposed by the Single Core Equivalence framework...
متن کاملUnderstanding Shared Memory Bank Access Interference in Multi-Core Avionics
Deployment of multi-core platforms in safety-critical applications requires reliable estimation of worst-case response time (WCRT) for critical processes. Determination of WCRT needs to accurately estimate and measure the interferences arising from multiple processes and multiple cores. Earlier works have proposed frameworks in which CPU, shared cache, and shared memory (DRAM) interferences can...
متن کاملArchitecture Design of a Scalable Single-Chip Multi-Processor
Now that system-on-chip technology is emerging, singlechip multi-processors are becoming feasible. A key problem of designing such systems is however the complexity of their interconnect and memory architecture [1]. An example of a single-chip multi-processor for real-time (embedded) systems is the Multi Micro Processor (M P). Its architecture consists of a scalable number of identical master p...
متن کاملTowards many core real-time embedded systems: software design of streaming systems at system level
Nowadays, multi-core architectures become popular for embedded systems. As VLSI technology is scaling to deep sub-micron domain, an envisioned trend is that the architectures of embedded systems are moving from multiple cores to many cores. Although state-of-art multicore and future many-core architectures provide enormous potential, scaling the number of computing cores does not directly trans...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2018